Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "speak-synthesis">

With this node you can send a voice message to an existing dashboard or a new one created by the node.

Configuration

text string
Text of the message to be sent
rate string
Speed of execution. 1 is the default value
pitch string
Running tone. 1 is the default value
lang string
String to select language and voice. The possible choices are:
'engF' for English woman
'engM' for English man
'itF' for Italian woman
'itM' for Italian man
'frF' for French woman
'frM' for French man
'esF' for Spanish woman
'esM' for Spanish man
dashboard string
Dashboard title to which the single content will be added
widget string
Title that will have the widget containing the single content.

Inputs

The node can receive a JSON with the parameters described in the Inputs section and with them generate the output JSON. If the values are not present in the input JSON, these are read by those in the configuration. If they are not present in either part, an error is generated for the necessary parameters.
Example JSON.
 
{
    "text": "Text of the message to be sent",
    "pitch": 1,
    "rate": 1,
	"lang":"engM"
}